package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

//试题表
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "questions")
public class Questions implements Serializable {

    private ObjectId id; //主键, 试题编号
    private ObjectId testSoulId; //试卷id
    private String question;//题目


}
